Don't make faces when loading Custom themes.
authorChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 15:31:09 +0000 (23:31 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 21 Dec 2013 15:31:09 +0000 (23:31 +0800)
commit15e14b165dcbc6566a0459b0d5e66f89080f569e
tree1ad3b32980a094c5fa0fc229d6104909bf271027
parent1e992d21cc0d3e3294ac916d22d6af8d74757263
Don't make faces when loading Custom themes.

* custom.el (custom-theme-recalc-face): Do nothing if the face is
undefined.  Thus, theme settings for undefined faces do not take
effect until the faces are defined with defface, the same as with
theme variables.

* faces.el (face-spec-set): Use face-spec-recalc in all cases.
(face-spec-reset-face): Don't assign extra properties in temacs.
(face-spec-recalc): Apply X resources too.
lisp/ChangeLog
lisp/custom.el
lisp/faces.el